/**
 * 
 */
package com.ccqlk.attendance.repository.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ccqlk.attendance.model.User;
import com.ccqlk.attendance.repository.dbservice.UserMapper;
import com.ccqlk.attendance.repository.service.base.BaseServiceImpl;

/**
 * Copyright 2015-2018 重庆鲁控科技有限公司<br>
 * 文件标题: UserService<br>
 * 文件说明: TODO<br>
 * @author ZhangYinxian 348893009@qq.com<br>
 * 创建时间 2016年5月27日 上午12:04:34<br>
 */
@Service
public class UserService extends BaseServiceImpl<User, Integer> {

	private UserMapper userMapper;
	
	@Autowired
	public UserService(UserMapper userMapper) {
		super(userMapper);
		this.userMapper = userMapper;
	}

	/**
	 * @param params
	 * @return
	 */
	public List<User> selectByParams(Map<String, Object> params) {
		return userMapper.selectByParams(params);
	}
}
